package com.fragrance.util;

public class CustomerIDUtil {
	
	public static String getCustomerId(){
		String result = "";
		String currentTimeMillis = String.valueOf(System.currentTimeMillis());
		int endlength = currentTimeMillis.length();
		double a = Math.random();
		String start = String.valueOf(a);
		int startlength = start.length();
		result = start.substring(startlength-6)+currentTimeMillis.substring(endlength-6);
		return result;
	}

	public static void main(String[] args) {
		System.out.println(getCustomerId());		
	}

}
